CMAKE_MINIMUM_REQUIRED( VERSION 3.1.1 )
PROJECT( plg_copy_paste )

INCLUDE( WGToolsCoreProject )
find_package(QT5)


# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)


SET( ALL_SRCS
	plg_copy_paste.cpp
)
WG_AUTO_SOURCE_GROUPS( ${ALL_SRCS} )

BW_BLOB_SOURCES( BLOB_SRCS
	${ALL_SRCS}
)

BW_QT_ADD_QRC( WGCopyableFunctions resources/WGCopyableFunctions )
BW_GLOB_RESOURCE_FILES()

BW_ADD_TOOL_PLUGIN( plg_copy_paste SHARED
	${BLOB_SRCS}
	${RESOURCE_FILES}
	${COMPILED_RESOURCES}
)

BW_TARGET_LINK_LIBRARIES( plg_copy_paste PRIVATE
	core_generic_plugin
)

BW_PROJECT_CATEGORY( plg_copy_paste "Plugins" )
